package com.sushi.exception;

public class ServiceException extends Exception{
    private int option;


    public ServiceException(int option, String message) {
        super(message);
        this.option = option;
    }

    public ServiceException() {
    }

    public ServiceException(String message) {
        super(message);
    }

    public int getOption() {
        return option;
    }

    public void setOption(int option) {
        this.option = option;
    }
}
